package Figure;

import java.util.ArrayList;

import org.eclipse.swt.graphics.Point;


public class Drawing extends Figure {

	/* Member Field */
	private ArrayList<Point> drawingPath;
	private int drawingSize;
	
	/* Constructor */
	public Drawing(String userID, int figureID) {
		super(userID, figureID);
	}
	
	/* Method */
	public void addPoint(Point point){
		this.drawingPath.add(point);
	}

	/* Getter &  Setter */
	public ArrayList<Point> getDrawingPath() {
		return drawingPath;
	}

	public void setDrawingPath(ArrayList<Point> drawingPath) {
		this.drawingPath = drawingPath;
	}

	public int getDrawingSize() {
		drawingSize = drawingPath.size();
		return drawingSize;
	}
}
